package com.yc.chaoshi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xz
 * @since 2022-08-04
 */
@TableName("oms_order_product")
public class OmsOrderProduct implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 商品id
     */
      private Integer productId;
      private Integer CommentStatus;
      /**
     * 订单id
     */
      private Integer orderId;

    private Integer cout;

    public Integer getCommentStatus() {
        return CommentStatus;
    }

    public void setCommentStatus(Integer commentStatus) {
        CommentStatus = commentStatus;
    }

    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public Integer getProductId() {
        return productId;
    }

      public void setProductId(Integer productId) {
          this.productId = productId;
      }
    
    public Integer getOrderId() {
        return orderId;
    }

      public void setOrderId(Integer orderId) {
          this.orderId = orderId;
      }
    
    public Integer getCout() {
        return cout;
    }

      public void setCout(Integer cout) {
          this.cout = cout;
      }

    @Override
    public String toString() {
        return "OmsOrderProduct{" +
              "id=" + id +
                  ", productId=" + productId +
                  ", orderId=" + orderId +
                  ", cout=" + cout +
              "}";
    }
}
